package org.jeecg.modules.erp.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.erp.base.entity.ErpGoodsFormulaDetail;
import org.jeecg.modules.erp.base.vo.ErpGoodsFormulaDetailVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: 配方明细
 * @Author: jeecg-boot
 * @Date:   2024-05-23
 * @Version: V1.0
 */
public interface IErpGoodsFormulaDetailService extends IService<ErpGoodsFormulaDetail> {

    void saveBatchList(List<ErpGoodsFormulaDetail> erpGoodsFormulaDetail);

    List<ErpGoodsFormulaDetail> listByFormualCode(String formualCode);

    void deleteByFormualCode(String formualCode);


    BigDecimal computeFormula(ErpGoodsFormulaDetailVo vo);


}
